package com.vlong.town.mapper.townInfo;

import org.apache.ibatis.annotations.Mapper;

import com.vlong.town.entity.townInfo.TownInfo;

/**
 * 村镇信息Mapper接口
 * @author Assassin
 */
@Mapper
public interface TownInfoMapper {

    /**
     * 保存村镇信息
     * @param townInfo 参数实体
     */
    public void update(TownInfo townInfo);

    /**
     * 根据村镇Id查询村镇信息
     * @param townId 村镇Id
     * @return TownInfo
     */
    public TownInfo select(Long townId);
}
